Automattic\WooCommerce\Admin\PluginsHelper C

Total Complexity 117
Dependencies 10
Dependents 23
Total lines 1,114
Lines of code 669
Logical lines of code 279
Comment lines 287
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
install_plugins()
B
33 15 104
get_expiring_subscription_notice()
A
40 13 62
get_expired_subscription_notice()
A
42 12 55
activate_plugins()
A
44 10 47
get_subscriptions_notice_data()
A
39 8 76
get_missing_subscription_notice()
A
42 7 60
maybe_show_connect_notice_in_plugin_list()
S
49 4 31
get_missing_payment_method_notice()
S
51 3 30
maybe_show_expiring_subscriptions_notice()
S
59 4 14
maybe_show_expired_subscriptions_notice()
S
59 4 14
get_plugin_path_from_slug()
S
60 4 13
should_show_notice()
S
62 4 11
schedule_activate_plugins()
S
58 3 16
schedule_install_plugins()
S
61 3 12
maybe_enqueue_scripts_for_connect_notice()
S
63 3 11
get_action_data()
S
60 2 13
maybe_enqueue_scripts_for_notices_in_plugins()
S
62 2 12
get_plugin_data()
S
71 2 5
maybe_enqueue_scripts_for_subscription_notice()
S
69 2 7
is_plugin_active()
S
74 2 4
is_plugin_installed()
S
74 2 4
get_installed_plugins_paths()
S
63 2 10
get_active_plugin_slugs()
S
62 1 12
get_activation_status()
S
63 1 11
get_installation_status()
S
63 1 11
install_and_activate_plugins_async_callback()
S
68 1 7
get_installed_plugin_slugs()
S
66 1 9
init()
S
65 1 8